<%--
	 +----------------------------------------------------------------------+
	 |																		|
	 | 网银在线 配置文件														|
	 |																		|		
	 +----------------------------------------------------------------------+
--%>
<%
	//Description:ChinaBank payment gateway configuration
	//CreateTime: 2006-08-16
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ include file="/common/taglibs.jsp"%>

<probiz:pageHeading pageHeadingKey="system.pay.wy" />
<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoAction(this, 'saveConfigAction');" />
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/paymentMethod.html" />
</content>

<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span><fmt:message key="system.pay.wy"/></span></li>
	</ul>
</div>

<content tag="description">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td width="29%" align="left"><span><fmt:message key="system.pay.wy"/></span></td>
		    <td width="71%" align="right">
				<IMG alt="chinabank" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>	</td>
		  </tr>
		  <tr>
		    <td align="left" colspan="2">
				<span>Note: </span>
				<ul style="padding-left:25px">
					<li><fmt:message key="system.pay.please"/><a target="_blank" href="http://www.chinabank.com.cn" style="color:red;text-decoration: underline"><fmt:message key="system.pay.wyj"/></a><fmt:message key="system.pay.kait"/></li>
					<li><fmt:message key="system.pay.guan"/></li>
				</ul>
			</td>
		  </tr>
		</table>
</content>
<div class="modify">
	<form class="mainForm" name="configForm" id="configForm"  method="post" action="paymentMethod.html" onsubmit="return validateFormWithMsg(this);">
	<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
		<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.pay.shuo"/></h4></th>
			</tr>
			<tr>
				<th colspan="2" >
					<IMG alt="chinabank" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>
					<ul class="intro">
						<li><fmt:message key="system.pay.please"/><a target="_blank" href="http://www.chinabank.com.cn" style="color:red;text-decoration: underline"><fmt:message key="system.pay.wyj"/></a><fmt:message key="system.pay.kait"/></li>
						<li><fmt:message key="system.pay.guan"/></li>
					</ul>
				</th>
			</tr>
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.paymentGateway.configItem"/></h4></th>
			</tr>
			<tr>
				<th class="label_width_1">
					<fmt:message key="system.pay.saleser"/>(<span class="red">*</span>):
				</th>
				<td>
					<input class="inputtxt" style="width: 350px" name="v_mid" value="${paymentGateway.configData.v_mid}" validConf="required,maxlength=100"/>
				</td>
			</tr>
			<tr> 
				<th>
					<fmt:message key="system.pay.md5"/>(<span class="red">*</span>):
				</th>
				<td>
					<input class="inputtxt" style="width: 350px" name="key" value="${paymentGateway.configData.key}" validConf="required,maxlength=100"/>
				</td>
			</tr>
			<tr> 
				<th>
					<fmt:message key="system.pay.bizhong"/>(<span class="red">*</span>):
				</th>
				<td>
					<select name="v_moneytype" style="width:200px" class="selecttxt" validConf="required">
						<option value="CNY" <c:if test="${paymentGateway.configData.v_moneytype=='CNY'}">selected</c:if>><fmt:message key="system.pay.ren"/></option>
						<option value="USD" <c:if test="${paymentGateway.configData.v_moneytype=='USD'}">selected</c:if>><fmt:message key="system.pay.doller"/></option>
					</select>
				</td>
			</tr>
		</table>
	</form>
</div>
<script>
$j(document).ready(function(){
	autoApplyValidate($j('#configForm')[0]);
});
</script>